package com.mrobuy.jdvc.dao;

import com.mrobuy.jdvc.Result;
import com.mrobuy.jdvc.entity.VCCateBrand;
import com.mrobuy.util.Pagination;

import java.util.List;

public interface VCCateBrandDao {

    /**
     * 品牌列表
     */
    List<VCCateBrand> list();

    /**
     * 品牌列表
     */
    List<VCCateBrand> list(String vendor);


    Pagination load(int start, int length, VCCateBrand condition);

    List<VCCateBrand> query(String cid1, String brandid);

    Result insert(VCCateBrand record) throws Exception;

    List<VCCateBrand> available(String vendorCode);
}
